CVE-2022-50754
apparmor: fix a memleak in multi_transaction_new()
Description
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix a memleak in multi_transaction_new() In multi_transaction_new(), the variable t is not freed or passed out on the failure of copy_from_user(t->data, buf, size), which could lead to a memleak. Fix this bug by adding a put_multi_transaction(t) in the error path.
INFO
Published Date :
Dec. 24, 2025, 1:16 p.m.
Last Modified :
Dec. 24, 2025, 1:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2022-50754
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Apply the patch to the Linux kernel.
- Ensure transaction 't' is freed on error.
- Review memory management in transaction handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50754.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50754 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50754
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50754 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50754 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 24, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: apparmor: fix a memleak in multi_transaction_new() In multi_transaction_new(), the variable t is not freed or passed out on the failure of copy_from_user(t->data, buf, size), which could lead to a memleak. Fix this bug by adding a put_multi_transaction(t) in the error path. Added Reference https://git.kernel.org/stable/c/11d5fe7da67c3334cefc981297fd5defb78df15c Added Reference https://git.kernel.org/stable/c/3d27a436e294ac5d7a51bd5348ca63a42a468b35 Added Reference https://git.kernel.org/stable/c/775a37ffa9f4681c4ad84c8634a7eec8af7098d4 Added Reference https://git.kernel.org/stable/c/88989932c2269ea66074f52a6213598838f8b9e7 Added Reference https://git.kernel.org/stable/c/935d86b29093e75b6c547d90b3979c2c2d23f1c4 Added Reference https://git.kernel.org/stable/c/95e6adc6a7a4761ddf69ad713e55a06a3206309d Added Reference https://git.kernel.org/stable/c/c73275cf6834787ca090317f1d20dbfa3b7f05aa Added Reference https://git.kernel.org/stable/c/eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6